﻿using BlawkayEngine;
using BlawkayEngine.ScreenSystem;
using Microsoft.Xna.Framework;

namespace BlawkayHockey
{
    public class CreateMatchScreen : XboxLiveSettingsScreen
    {

        public CreateMatchScreen(Game oGame)
            : base(oGame, "Create Match")
        {
            for (MenuOptions oOption = MenuOptions.Game_Mode; oOption <= MenuOptions.Back; oOption++)
            {
                AddMenuOption(oOption.ToString());
            }
        }

        protected override void Select(ScreenManager oManager)
        {
            switch ((MenuOptions)Index)
            {
                case MenuOptions.Game_Mode:
                    break;
                case MenuOptions.Skill_Level:
                    break;
                case MenuOptions.Max_Slots:
                    break;
                case MenuOptions.Private_Slots:
                    break;
                case MenuOptions.Create_Match:
                    GoToMenu(XboxLiveDestination.CreateLobby, oManager);
                    break;
                case MenuOptions.Back:
                default:
                    GoToMenu(XboxLiveDestination.XboxLive, oManager);
                    break;
            }
        }

        protected override void Cancel(ScreenManager oManager)
        {
            GoToMenu(XboxLiveDestination.XboxLive, oManager);
        }

        private enum MenuOptions
        {
            Game_Mode,
            Skill_Level,
            Max_Slots,
            Private_Slots,
            Create_Match,
            Back,
        }

    }
}